#include	 <avr/io.h>

unsigned char digit[] = {0x77, 0x41, 0x3B, 0x5B, 0x4D, 0x5E, 0x7C, 0x43, 0x7F, 0x4F};

void  display_7segled(unsigned char led[], unsigned int number)
{	
         PORTC = led[number];
}

int	main(void)
{
         DDRC = 0xFF;

         display_7segled(digit, 4);
         return 0;
}
